<style type="text/css">
    .top{
        height: 50px;
        line-height: 50px;
        text-align: center;
        font-size: 18px;
        background: #000;
        color:#fff;
    }
</style>
<div class="top">
   this is top 
</div>